import classnames from 'classnames'
type IconProps = {
  type: string
  onClick?: (e: React.MouseEvent) => void
  className?: string
}
export default function MyIcon(props: IconProps) {
  return (
    <svg onClick={props.onClick} className="icon" aria-hidden={true}>
      <use xlinkHref={'#' + props.type}></use>
    </svg>
  )
}
